//
//  LogisticsViewController.m
//  Youhuiju
//
//  Created by liuovyue on 16/9/21.
//  Copyright © 2016年 yutenys. All rights reserved.
//

#import "LogisticsViewController.h"
#import "ViewNavigationBar.h"

@interface LogisticsViewController ()
@property (strong, nonatomic) IBOutlet UILabel *labelOrder;

@end

@implementation LogisticsViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    self.labelOrder.textColor = [UIColor colorWithHexString:@"cccccc"];
    self.labelOrder.font = [UIFont systemFontOfSize:18*FitW];

    
    ViewNavigationBar *viewBar = [[ViewNavigationBar alloc]init];
    
    viewBar.backgroundColor = [UIColor whiteColor];
    viewBar.labelTitle.text = @"查询物流";
    [self.view addSubview:viewBar];
    [viewBar mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.view.mas_top);
        make.right.equalTo(self.view.mas_right);
        make.left.equalTo(self.view.mas_left);
        make.height.mas_equalTo(64);
        
        
    }];
    [viewBar.buttonReturn addTarget:self action:@selector(returnAction:) forControlEvents:UIControlEventTouchUpInside];
}

- (void)returnAction:(UIButton *)button {
    
    
    [self.navigationController popViewControllerAnimated:YES];
    
    
    
    
}




- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
